<%@page import="nnweboa.Unitls"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	if (Unitls.isNoNtManager()) {  
		request.getRequestDispatcher("createntadmin.jsp").forward(
				request, response);
	} else {
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>WebOa</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
</head>

<body>

	<div>
		<p>&nbsp;</p>
		<p>用户登录：</p>
		<form action="login.jsp" method="post"
			enctype="application/x-www-form-urlencoded" name="userinfo"
			target="_self" id="userinfo">

			<p>&nbsp;</p>
			<table border="0" align="center" id="userinfotable">
				<tr>
					<td>用户名：</td>
					<td><input name="username" id="username" />
					</td>
				</tr>
				<tr>
					<td>长密码：</td>
					<td><input name="userpass" type="password" id="userpass" />
					</td>
				</tr>
				<tr>
					<td><input name="提交" type="submit" value="提交">
					</td>
					<td><input name="重置" type="reset" value="重置">
					</td>
				</tr>
			</table>
			<p>&nbsp;</p>
		</form>
	</div>
</body>
<%} %>
</html>
